package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

public class GSDictionaryBean implements GSBaseBean 
{

	private String id;
	private String code;
	private String name;
	private String parent_id;
	private String display_order;
	private String is_system;
	private String remark;
	
	public static String DeliverMode = "1";		//配送模式
	public static String BalanceMode = "2";		//结算方式
	
	
	public Object process(ResultSet aResultSet) throws SQLException 
	{
		GSDictionaryBean tGSDictionaryBean = new GSDictionaryBean();
		tGSDictionaryBean.id = aResultSet.getString("ID").trim();
		tGSDictionaryBean.code = aResultSet.getString("code") == null ? "" : aResultSet.getString("code").trim();
		tGSDictionaryBean.name = aResultSet.getString("name") == null ? "" : aResultSet.getString("name").trim();
		tGSDictionaryBean.parent_id = aResultSet.getString("parent_id") == null ? "" : aResultSet.getString("parent_id").trim();
		tGSDictionaryBean.is_system = aResultSet.getString("is_system") == null ? "" : aResultSet.getString("is_system").trim();
		tGSDictionaryBean.remark = aResultSet.getString("remark") == null ? "" : aResultSet.getString("remark").trim();
		return tGSDictionaryBean;
	}


	public String getCode() 
	{
		return code;
	}


	public void setCode(String code) 
	{
		this.code = code;
	}


	public String getDisplay_order() 
	{
		return display_order;
	}


	public void setDisplay_order(String display_order) 
	{
		this.display_order = display_order;
	}


	public String getId() 
	{
		return id;
	}


	public void setId(String id) 
	{
		this.id = id;
	}


	public String getIs_system() 
	{
		return is_system;
	}


	public void setIs_system(String is_system) 
	{
		this.is_system = is_system;
	}


	public String getName() 
	{
		return name;
	}


	public void setName(String name) 
	{
		this.name = name;
	}


	public String getParent_id() 
	{
		return parent_id;
	}


	public void setParent_id(String parent_id) 
	{
		this.parent_id = parent_id;
	}


	public String getRemark() 
	{
		return remark;
	}


	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

}
